package pojo;


import java.util.HashSet;
import java.util.Set;


/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private Set sysUserses = new HashSet(0);
     private Set registries = new HashSet(0);
     private Set rooms = new HashSet(0);
     private Set schedules = new HashSet(0);


    // Constructors

    /** default constructor */
    public Department() {
    }

    
    /** full constructor */
    public Department(String name, Set sysUserses, Set registries, Set rooms, Set schedules) {
        this.name = name;
        this.sysUserses = sysUserses;
        this.registries = registries;
        this.rooms = rooms;
        this.schedules = schedules;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getSysUserses() {
        return this.sysUserses;
    }
    
    public void setSysUserses(Set sysUserses) {
        this.sysUserses = sysUserses;
    }

    public Set getRegistries() {
        return this.registries;
    }
    
    public void setRegistries(Set registries) {
        this.registries = registries;
    }

    public Set getRooms() {
        return this.rooms;
    }
    
    public void setRooms(Set rooms) {
        this.rooms = rooms;
    }

    public Set getSchedules() {
        return this.schedules;
    }
    
    public void setSchedules(Set schedules) {
        this.schedules = schedules;
    }
   








}